e7bebd
@@ -154,7 +154,9 @@
public class Replication implements WALActionsListener,
   public void join() {
     if (this.replication) {
       this.replicationManager.join();
-      this.replicationSink.stopReplicationSinkServices();
+      if (this.replicationSink != null) {
+        this.replicationSink.stopReplicationSinkServices();
+      }
     }
   }
 
